<?php
  session_start();  
  $error = false;
  if (isset($_SESSION['error'])&&!empty($_SESSION['error']))
  {
    $error = $_SESSION['error'];
  }
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PetCare</title>

<link href="login-box.css" rel="stylesheet" type="text/css" />
</head>

<body>


<div style="padding: 100px 0 0 250px;">


<div id="login-box">

<H2>PetCare</H2>
<form action="indexLogin.php" method="post">
<p><?php if ($error) { echo $error; unset($_SESSION['error']); } else { echo "Please enter login information:"; } ?></p>
<table border="0">
<tr>
  <td><div id="login-box-name" style="margin-top:20px;">UserName:</div></td>
  <td align="center"><div id="login-box-field" style="margin-top:20px;"><input class="form-login" type="text" name="uname" size="15" maxlength="30"/></div></td>
</tr>
<tr>
  <td><div id="login-box-name">Password:</div></td>
  <td align="center"><div id="login-box-field"><input class="form-login" type="password" name="upass" size="15" maxlength="30"/></div></td>
</tr>
<tr>
<td colspan="2">
<br />
<br />
<br />
</td>
</tr>
<tr>
  <td colspan="2"><input type="image" src="images/login-btn.png" width="103" height="42" style="margin-left:90px;" value="Enter"/></td>
</tr>
</table>
</form>






</div>

</div>













</body>
</html>
